{include file="common/header.tpl"}    
    <div id="vfriendContainer">
        <div id="mainContent3C">
            <div class="vfriendContainer3C">
                <div class="vfriendContent3C">
                	<div class="leftCol">
                    	{vfriend_navi id=$objUser->id}
                    </div>
                    <div class="rightCol noBg">    
                    	{vfriend_userinfo id=$objUser->id view=$AppUI->id}           
                        {include file="fullhouse/box-photo-upload.tpl"}
                        {if $arrResult}
                            <div class="boxAlbum">
                                <div class="headerTitle"><h3>Album ảnh ({$intTotal})</h3></div>
                                <div class="albumItem">
                                    <ul>
                                        {foreach key=i item=item from=$arrResult}
                                            <li{if $i%3==0} class="firstChild"{/if}>
                                                {image userid=$objUser->id path=$item.path small=1 type=2 class="border200 lFloat" id=$item.albumid title=$item.name|escape}
                                                <h4><a href="{fullhouse_album username=$objUser->username hex=$objUser->hex id=$item.albumid name=$item.name|escape}"><strong>{$item.name|str_wordwrap:40}...</strong> ({$item.timage} ảnh)</a></h4>
                                                {if $objUser->id == $AppUI->id && $AppUI->id > 0}
                                                    <h5>{$arrPerm[$item.perm]}&nbsp;|&nbsp;<a href="javascript:;" onclick="javascript:editAlbum({$item.albumid});">Chỉnh sửa</a>&nbsp;|&nbsp;<a href="javascript:;" onclick="javascript:deleteAlbum('{$item.albumid|base64E}','{$item.albumid|secret:"albumDelete"}');">Xóa album</a></h5>
                                                {/if}
                                            </li>
                                        {/foreach}
                                    </ul>
                                </div>
                            </div>
                        {else}
                        	<div class="notContent">Hiện tại, {$objUser->fullnamevn} không có album ảnh nào.</div>
                        {/if}
                    </div>
               	</div>
            </div>
        </div>
    </div>
{include file="common/footer.tpl"}